import request from '@/utils/request'

// 查询缴费记录明细列表
export function listPayrecordd(query) {
  return request({
    url: '/system/payrecordd/list',
    method: 'get',
    params: query
  })
}

// 查询缴费记录明细详细
export function getPayrecordd(id) {
  return request({
    url: '/system/payrecordd/' + id,
    method: 'get'
  })
}

// 新增缴费记录明细
export function addPayrecordd(data) {
  return request({
    url: '/system/payrecordd',
    method: 'post',
    data: data
  })
}

// 修改缴费记录明细
export function updatePayrecordd(data) {
  return request({
    url: '/system/payrecordd',
    method: 'put',
    data: data
  })
}

// 删除缴费记录明细
export function delPayrecordd(id) {
  return request({
    url: '/system/payrecordd/' + id,
    method: 'delete'
  })
}

// 导出缴费记录明细
export function exportPayrecordd(query) {
  return request({
    url: '/system/payrecordd/export',
    method: 'get',
    params: query
  })
}